﻿using Newtonsoft.Json;

namespace Easy.Services.Dtos
{
    public class UpdateUserDTO
    {
        /// <summary>
        /// 员工转正日期, 格式: 2020-01-01
        /// </summary>
        [JsonProperty("correctionTime")]
        public string CorrectionTime { get; set; }
        /// <summary>
        /// 员工部门名字
        /// </summary>
        [JsonProperty("departmentId")]
        public long DepartmentId { get; set; }
        /// <summary>
        /// 员工部门名字
        /// </summary>
        [JsonProperty("departmentName")]
        public string DepartmentName { get; set; }

        /// <summary>
        /// 员工聘用形式, 1正式, 2非正式
        /// </summary>
        [JsonProperty("formOfEmployment")]
        public long FormOfEmployment { get; set; }

        /// <summary>
        /// 员工id
        /// </summary>
        [JsonProperty("id")]
        public long Id { get; set; }

        /// <summary>
        /// 员工手机号
        /// </summary>
        [JsonProperty("mobile")]
        public string Mobile { get; set; }

        /// <summary>
        /// 员工头像地址, 完整地址, 直接用
        /// </summary>
        [JsonProperty("staffPhoto")]
        public string StaffPhoto { get; set; }

        /// <summary>
        /// 员工入职日期, 格式: 2020-01-01
        /// </summary>
        [JsonProperty("timeOfEntry")]
        public string TimeOfEntry { get; set; }

        /// <summary>
        /// 员工名字
        /// </summary>
        [JsonProperty("userName")]
        public string UserName { get; set; }

        /// <summary>
        /// 员工工号
        /// </summary>
        [JsonProperty("workNumber")]
        public string WorkNumber { get; set; }

    }
}
